package Test_0727;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-07-27
 * Time: 21:13
 */
public class Dog extends Animal {
    public Dog(int age, String name) {
        super(age, name);
    }
    public void eat(){
        System.out.println(name+"吃狗粮");
    }
}
